package com.itheima.activiti.dao;


import com.itheima.activiti.domain.ActUser;
import org.apache.ibatis.annotations.Select;

public interface ActUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ActUser record);

    int insertSelective(ActUser record);

    ActUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActUser record);

    int updateByPrimaryKey(ActUser record);

    @Select(" select * from act_user where username=#{username}")
    ActUser selectByName(String username);


}